package com.itheima.exam.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * vo => view object
 */
@Data
public class StudentVo {
    private Integer sid;
    private String sname;
    private int gender;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    private Integer cid;
    private String cname;

}
